/**
 * 学校的路由
 * @constructor
 */
const Home = () => import("../../pages/school/home/Home");
/****研学计划路由*****/
const TermStudyPlan = () => import("../../pages/school/researchPlanManage/termStudyPlan/TermStudyPlan");
const StudyPlanContent = () => import("../../pages/school/researchPlanManage/termStudyPlan/studyPlanContent/StudyPlanContent")
const DetailsOfTravelDeclaration = () => import("../../pages/school/researchPlanManage/termStudyPlan/detailsOfTravelDeclaration/DetailsOfTravelDeclaration")

const TravelDeclaration = () => import("../../pages/school/researchPlanManage/travelDeclaration/TravelDeclaration");

const TravelManage = () => import("../../pages/school/researchPlanManage/travelManage/TravelManage");
/********研学成果路由***********/
const EvaluationManage = () => import("../../pages/school/researchAchievements/evaluationManage/EvaluationManage");

const Research = () => import("../../pages/school/researchAchievements/Research/Research");
/************研学成果子路由*************/
const Splendid = () => import("../../pages/school/researchAchievements/Research/childComponent/studiesResults/splendid/Splendid");//精彩瞬间
const News = () => import("../../pages/school/researchAchievements/Research/childComponent/studiesResults/news/News");//新闻发布
const StudiesSummary = () => import("../../pages/school/researchAchievements/Research/childComponent/studiesResults/studiesSummary/StudiesSummary");//研学总结
/***************评价管理*****************/

const HistoryEvaluate = () => import("../../pages/school/researchAchievements/Research/childComponent/EvaluationManage/historyEvaluate/HistoryEvaluate");//新增评价

const AddEvaluate = () => import("../../pages/school/researchAchievements/Research/childComponent/EvaluationManage/addEvaluate/AddEvaluate");
/********账户设置路由***********/
const ModifyPassword = () => import("../../pages/school/accountManage/ModifyPassWordSchool");

const StudentManage = () => import("../../pages/school/studentManage/StudentManage");
const schoolRoute = [
    {
        path: "/school/home",
        component: Home,
        children: [
            {
                path: "/school/termStudyPlan",
                component: TermStudyPlan,
                children: [
                    {
                        path: "",
                        redirect: "StudyPlanContent"
                    },
                    {
                        path: "StudyPlanContent",
                        component: StudyPlanContent
                    },
                    {
                        path: "DetailsOfTravelDeclaration",
                        component: DetailsOfTravelDeclaration
                    }
                ]
            },
            {
                path: "/school/TravelDeclaration",
                component: TravelDeclaration
            },
            {
                path: "/school/TravelManage",
                component: TravelManage
            },
            {
                path: "/school/EvaluationManage",
                component: EvaluationManage
            },
            {
                path: "/school/Research",
                component: Research
            },
            {
                path: "/school/ModifyPassword",
                component: ModifyPassword
            },
            {
                path: "/school/StudentManage",
                component: StudentManage
            },
            {
                path: "/school/splendid",
                component: Splendid
            },
            {
                path: "/school/news",
                component: News
            },
            {
                path: "/school/studiesSummary",
                component: StudiesSummary
            },
            {
                path: "/school/historyEvaluate",
                component: HistoryEvaluate
            },
            {
                path: "/school/addEvaluate",
                component: AddEvaluate
            }
        ]

    },
    {
        path: "/school/DetailsOfTravelDeclaration",
        component: DetailsOfTravelDeclaration,
    }
];

export default schoolRoute;
